package cn.tjnext.apply.entity;

import java.util.List;

/**
 * 路线
 * Created by cp on 2017/9/26.
 */
public class ProductEntity {
    private String id;
    private String name;
    private List<ProductDetail> list = null;

    public ProductEntity(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public ProductEntity() {
    }

    public ProductEntity(String id, String name, List<ProductDetail> list) {
        this.id = id;
        this.name = name;
        this.list = list;
    }

    public ProductEntity(String id, List<ProductDetail> list) {
        this.id = id;
        this.list = list;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<ProductDetail> getList() {
        return list;
    }

    public void setList(List<ProductDetail> list) {
        this.list = list;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
